package someclass;

public class reserveBook {
    showBookList booklist = new showBookList();
    public String showPromptMessage() {
        String promptMessage = "Please input the book number you want to reserve";
        System.out.println(promptMessage);
        return promptMessage;
    }

    public String doreserve(int i) {
        String returnMessage;
         if(booklist.ownBook[i].getBookNumber()>0.){
              returnMessage = "Thank You! Enjoy the book.";
         }
        else
         returnMessage = "Sorry we don't have that book yet.";
        return returnMessage;
    }
}
